package com.up1234567.unistarcloud.demo.web.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("unistar-demo-micro")
public interface IMicroApi {

    @GetMapping("hello")
    String hello(@RequestParam("name") String name);

}
